from math import *

# 窗口尺寸
window_width = 450
window_height = 300
# 窗口初始位置
window_pos_x = 300
window_pos_y = 300
# 左右子窗口占总长比率
left_frame_ratio = 0.30
right_frame_ratio = 0.64
# 上下左右Padding
top_padding = 10
bottom_padding = 10
left_padding = 10
right_padding = 10
window_title = "小管的万能工具箱-v1.0"

# 左右窗口位置设置
width_l = floor(window_width * left_frame_ratio)
height_l = floor(window_height - top_padding - bottom_padding)
x_l = left_padding
y_l = bottom_padding

width_r = floor(window_width * right_frame_ratio)
height_r = floor(window_height - top_padding - bottom_padding)
x_r = window_width - right_padding - width_r
y_r = bottom_padding